<!--
  Licensed to the Apache Software Foundation (ASF) under one   
  or more contributor license agreements.  See the NOTICE file 
  distributed with this work for additional information        
  regarding copyright ownership.  The ASF licenses this file   
  to you under the Apache License, Version 2.0 (the            
  "License"); you may not use this file except in compliance   
  with the License.  You may obtain a copy of the License at   
                                                               
    http://www.apache.org/licenses/LICENSE-2.0                 
                                                               
  Unless required by applicable law or agreed to in writing,   
  software distributed under the License is distributed on an  
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       
  KIND, either express or implied.  See the License for the    
  specific language governing permissions and limitations      
  under the License.                                           
 -->

<!-- See http://james.apache.org/server/3/config.html for usage -->

<resources>
  <matchers>
    <matcher for="custom" match="My Custom List"/>
  </matchers>
  <group name="subscribeConfirm">
    <resource name="welcome.subscribe.address">Welcome to the ${LIST_NAME} mailing list</resource>
    <resource name="already.subscribed">You are already subscribed to the ${LIST_NAME} mailing list.</resource>
    <resource name="text" xml:space="preserve"><![CDATA[
Acknowledgment: I have added the address

   ${SENDER_ADDR}

to the ${LIST_NAME} mailing list.

Welcome to ${LIST_NAME}@${DOMAIN_NAME}!

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.]]>
    </resource>
  </group>
  <group name="unsubscribeConfirm">
    <resource name="goodbye.subscribe.address">Goodbye from the ${LIST_NAME} mailing list</resource>
    <resource name="not.subscribed">You are not currently subscribed to the ${LIST_NAME} mailing list.</resource>
    <resource name="text" xml:space="preserve"><![CDATA[
Acknowledgment: I have removed the address

   ${SENDER_ADDR}

from the ${LIST_NAME} mailing list.

Goodbye from ${LIST_NAME}@${DOMAIN_NAME}.

If you would like to subscribe in the future please send email to: ${LIST_NAME}-subscribe@${DOMAIN_NAME}]]>
    </resource>
  </group>
  <group name="error">
    <resource name="text" xml:space="preserve"><![CDATA[
An error occurred while processing your request:
    ${ERROR_MESSAGE}]]>
    </resource>
  </group>
  <group name="unsubscribe">
    <resource name="not.subscribed">You are not currently subscribed to the ${LIST_NAME} mailing list.</resource>
    <resource name="confirm.unsubscribe.subject">Please confirm your unsubscription to the ${LIST_NAME} mailing list</resource>
    <resource name="confirm.unsubscribe.address">${LIST_NAME}-unsubscribe-confirm@${DOMAIN_NAME}</resource>
    <resource name="text" xml:space="preserve"><![CDATA[
To confirm that you would like

    ${SENDER_ADDR}

removed from the ${LIST_NAME} mailing list, please send an empty reply to this address:


${LIST_NAME}-unsubscribe-confirm@${DOMAIN_NAME}

Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into the "To:" field of a new message.

 or click here:

mailto:${LIST_NAME}-unsubscribe-confirm@${DOMAIN_NAME}]]>
    </resource>
  </group>
  <group name="subscribe">
    <resource name="already.subscribed">You are already subscribed to the ${LIST_NAME} mailing list.</resource>
    <resource name="confirm.subscribe.subject">Please confirm your subscription to the ${LIST_NAME} mailing list</resource>
    <resource name="confirm.subscribe.address">${LIST_NAME}-subscribe-confirm@${DOMAIN_NAME}</resource>
    <resource name="text" xml:space="preserve"><![CDATA[
To confirm that you would like

   ${SENDER_ADDR}

added to the ${LIST_NAME} mailing list, please send an empty reply to this address:

   ${LIST_NAME}-subscribe-confirm@${DOMAIN_NAME}

Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into the "To:" field of a new message.

or click here:
    mailto:${LIST_NAME}-subscribe-confirm@${DOMAIN_NAME}

This confirmation serves two purposes. First, it verifies that I am able to get mail through to you. Second, it protects you in case someone forges a subscription request in your name.]]>
    </resource>
  </group>
  <group name="admincommands">
    <resource name="text" xml:space="preserve"><![CDATA[
--- Administrative commands for the ${LIST_NAME} list ---

I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address:

To subscribe to the list, send a message to:
   <${LIST_NAME}-subscribe@${DOMAIN_NAME}>

To remove your address from the list, send a message to:
   <${LIST_NAME}-unsubscribe@${DOMAIN_NAME}>

Send mail to the following for info and FAQ for this list:
   <${LIST_NAME}-info@${DOMAIN_NAME}>

If despite following these instructions, you do not get the desired results, please contact my owner at ${LIST_NAME}-owner@${DOMAIN_NAME}. Please be patient, my owner is a lot slower than I am ;-)]]>
    </resource>
  </group>
  <group name="info">
    <resource name="info.subject">Information regarding the ${LIST_NAME} mailing list</resource>
    <resource name="text" xml:space="preserve"><![CDATA[
--- Information regarding the ${LIST_NAME} list ---

This is a public mailing list associated with the ${DOMAIN_NAME} server.
It is intended to be a convienent mechanism to share ideas, news and current events with like minded people.

--- Common practices ---
Sending email to the list:
    If you want to send email to the list, you can simply click on this link: ${LIST_NAME}@${DOMAIN_NAME} and then send what ever email you'd like to share with the other members of the ${LIST_NAME} mailing list.

Recieving email from the list:
    Every time someone sends email to the list, every member will recieve the email in their inbox.

Replying to list email:
    When you reply to email from the list, it will also go to every member on the list.

--- Current members ---
The list of current members are:
    ${MEMBER_LIST}]]>
    </resource>
  </group>
  <group name="footer">
    <resource name="text" xml:space="preserve"><![CDATA[
---------------------------------------------------------------------
To unsubscribe, e-mail: ${LIST_NAME}-unsubscribe@${DOMAIN_NAME}
For additional commands, e-mail: ${LIST_NAME}-info@${DOMAIN_NAME}]]>
    </resource>
  </group>
  <group name="footer_html">
    <resource name="text" xml:space="preserve"><![CDATA[
---------------------------------------------------------------------
To unsubscribe, e-mail: <a href="mailto:${LIST_NAME}-unsubscribe@${DOMAIN_NAME}">${LIST_NAME}-unsubscribe@${DOMAIN_NAME}</a>
For additional commands, e-mail: <a href="mailto:${LIST_NAME}-info@${DOMAIN_NAME}">${LIST_NAME}-info@${DOMAIN_NAME}</a>]]>
    </resource>
  </group>
 <group name="List Manager">
    <resource name="command.not.understood">I Could not understand the command "${COMMAND}" you sent to the "${LIST_NAME}" mailing list.</resource>
    <resource name="invalid.mail.subject">You have sent invalid mail to the ${LIST_NAME} mailing list</resource>
    <resource name="error.attachments">You cannot send attachments to the ${LIST_NAME} mailing list.</resource>
    <resource name="error.membersonly">Only members of this listserv are allowed to send a message to the ${LIST_NAME} mailing list.</resource>
 </group>
  <group name="header">
    <resource name="text" xml:space="preserve"><![CDATA[
Hi! This is the list serv program. I'm managing the ${LIST_NAME}@${DOMAIN_NAME} mailing list.

I'm working for my owner, who can be reached at ${LIST_NAME}-owner@${DOMAIN_NAME}.]]>
    </resource>
    <resource name="text" for="custom">This is my custom HEADER resource</resource>
  </group>
</resources>
